jquery unselect option

115

jquery unselect option -

$("option:selected").removeAttr("selected"); //solution 1
$("option:selected").prop("selected", false); //solution 2

Comments

Submit
0 Comments